//
//  EMSSkillPlannerTreeNode.h
//  EVE Mac Suite
//
//  Created by Vadim Lozko on 4/29/09.
//  Copyright 2009  __Vadim__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "EMSGeneralUtils.h"
#import "EMSSkillTrainingInfo.h"

@class EVECDCharacter;
@class EVECDLearnedSkill;

typedef enum {
	trainingStatusRequestedSkill = 0x01,
	trainingStatusInTraining = 0x02,
	trainingStatusLearnedEnough = 0x04,
	trainingStatusLearnable = 0x08
}TrainingStatus;

@interface EMSSkillPlannerTreeNode : NSTreeNode {
	EVECDLearnedSkill* learnedSkill;
	int level;
}

@property (assign) int level;
@property (retain) EVECDLearnedSkill* learnedSkill;
@property (readonly) TrainingStatus trainingStatus;

+(id)treeNodeWithLearnedSkill:(EVECDLearnedSkill*)skill level:(int)aLevel;
-(NSTimeInterval)thisTime;
-(NSTimeInterval)prequisiteTime;

@end

